//
//  RankMainHeadView.h
//  CoolTennisBall
//
//  Created by Coollang on 2017/7/27.
//  Copyright © 2017年 CoolLang. All rights reserved.
//

#import <UIKit/UIKit.h>




@class MyRankInfoModel,RankingModel;
@interface RankMainHeadView : UIView

@property (weak, nonatomic) IBOutlet UILabel *myLikeUserListLabel;
@property (weak, nonatomic) IBOutlet UIButton *myReclycelButton;
@property (nonatomic, weak)IBOutlet UIView *view;

/** 给前三的点赞 */
@property (nonatomic, copy)void (^topThreeLikeHandelBlock)(RankingModel *rankItem,NSInteger index,LikeCallBackBlock callback);

/** 查看谁给我点赞了 open: 打开/关闭 */
@property (nonatomic, copy)void (^lookMyLikesHanldeblock)(BOOL open);

/** 查看用户排行榜详情 */
@property (nonatomic, copy) void (^showUserRankInfoVcBlock)(RankingModel *rankItem,LikeCallBackBlock callBack);

/** 上传头像 */
@property (nonatomic, copy)void (^uploadHeadIconImageBlock)();

- (void)updateHeadIconWithImage:(UIImage *)image;

- (void)updateRankHeadView:(NSArray <RankingModel *>*)rankItems withMyranInfoModel:(MyRankInfoModel *)myModel rankModelType:(RankModeType)rankType;


@end
